CPUS=$(shell nproc)

all:
	mkdir -p build
	cd build && cmake ..
	cd build && make -j$(CPUS)

run: all
	cd build && cmake .. -DMAKE_PROJECT=ON
	cd build && make main
	exec $(shell find build/ -maxdepth 1 -type f -executable)

decompress-lib:
	./libs/decompress.sh